Online asynchronous reinforcement learning from concurrent customer histories

ABSTRACT

In one embodiment, an indication of a Decision Request or an Update Request may be received, where the Update Request is activated independent of user activity. A user state pertaining to at least one user may be received, obtained, accessed or constructed. For the Decision Request, one or more actions may be scored according to one or more value functions associated with a computing device, a policy associated with the computing device may be applied to identify one of the scored actions as a decision, and an indication of the decision may be provided or applied. For the Update Request, the one or more value functions and/or the policy may be updated. An indication of updates to the one or more value functions and/or an indication of updates to the policy may be provided.

RELATED APPLICATIONS

This application claims benefit from Provisional Patent Application No. 61/540,437, entitled “Online Asynchronous Reinforcement Learning From Interleaved Customer Histories” by Newnham et al., filed on Sep. 28, 2011, which is hereby incorporated by reference for all purposes.

This application is related to U.S patent application Ser. No. 13/631,053, entitled “ONLINE ASYNCHRONOUS REINFORCEMENT LEARNING FROM CONCURRENT CUSTOMER HISTORIES” by Newnham et al, filed on even date herewith, which is hereby incorporated by reference for all purposes.

BACKGROUND OF THE INVENTION

Machine learning may be applied to automatically generate a computer model that is improved through experience. Applications of machine learning range from data mining programs that discover general rules in large data sets, to information filtering systems that automatically learn users' interests.

Typically, a machine learning system collects data over a period of time. In order to preserve resources for online services, the system generates or updates the model offline based upon the collected data. The model may then be applied to generate decisions in various scenarios.

A machine learning system may apply a number of different machine learning algorithms. These algorithms include supervised learning, unsupervised learning, and Reinforcement Learning (RL).

The term Reinforcement Learning may refer to the family of learning mechanisms where an agent learns from the consequences of its actions. More specifically, an agent attempts to optimize a sequence of decisions to maximize the accumulated reward over time, where the reward corresponds to feedback pertaining to goal achievement. This broad definition of Reinforcement Learning encompasses techniques from several fields; standard texts include: “Reinforcement Learning: An Introduction” by Richard Sutton and Andrew Barto, MIT Press (1998), “Dynamic Programming and Optimal Control” by Dimitri P. Bertsekas, Athena Scientific (2007), Approximate Dynamic Programming: Solving the Curses of Dimensionality” by Warren B. Powell, Wiley, (2011) and “Markov Decision Processes: Discrete Stochastic Dynamic Programming” by Martin L. Puterman, Wiley-Blackwell (2005).

In RL, a model may be defined by a value function used to determine a value for a particular state. More particularly, the value of a given state may be defined by the expected future reward which can be accumulated by selecting actions from this particular state and the sequence of subsequent states. Actions may be selected according to a policy, which can also change. The goal of the RL agent is to select actions that maximize the expected cumulative reward of the agent over time.

RL methods can be employed to determine the optimal policy. More particularly, the optimal policy maximizes the total expected reward for all states.

SUMMARY OF THE INVENTION

The disclosed embodiments support a machine learning system implementing an asynchronous machine learning algorithm such as asynchronous Reinforcement Learning (RL). Asynchronous RL may support the generation of a decision with respect to user(s), updating a value function, and/or updating a policy in an asynchronous manner. This may be accomplished, at least in part, through the transmittal of request messages to initiate the decision-making and update processes.

In accordance with one aspect, a Learning Decisioning System may include one or more components. More particularly, the system may include one or more Decisioning Components. Each of the Decisioning Components may implement an asynchronous machine learning algorithm such as asynchronous RL.

In accordance with one aspect, a component such as a Decisioning Component may perform an asynchronous RL process. An indication of a Decision Request or an indication of an Update Request may be obtained (e.g., received), where the Update Request is activated (e.g., provided, transmitted or received) independent of user activity. The user state pertaining to at least one user may be received, obtained, accessed, updated and/or constructed. For the Decision Request, one or more actions may be scored according to one or more value functions associated with a computing device, a policy associated with the computing device may be applied to identify one of the scored actions as a decision, and an indication of the decision may be provided (e.g., for use by another component) and/or the decision may be applied to the at least one user. For the Update Request, the one or more value functions and/or the policy may be updated. The one or more value functions and/or the policy may be updated at a time when an indication of a subsequent Decision Request pertaining to the user has not yet been obtained (e.g., received). An indication of updates to the one or more value functions and/or an indication of updates to the policy may be provided.

In accordance with another aspect, a request is received. It is determined whether the request is a decision request or an update request. The request is then processed according to a result of the determining step.

In accordance with another aspect, a component such as a Decisioning Component may process a Decision Request. More particularly, an indication of a Decision Request may be obtained (e.g., received). In addition, a user state pertaining to at least one user may be received, obtained, accessed, updated and/or constructed. One or more actions may be scored according to one or more value functions (e.g., associated with a computing device) based, at least in part, upon the user state. A policy may be applied to identify one of the scored actions as a decision. An indication of the decision may be provided or the decision may be applied to the at least one user.

In accordance with another aspect, a component such as a Decisioning Component may process an Update Request. More particularly, an indication of an Update Request may be obtained (e.g., received). In addition, a user state pertaining to at least one user may be received, obtained, accessed, updated and/or constructed, where the Update Request is activated independent of activity of the at least one user. In response to the Update Request, one or more value functions and/or a policy may be updated based, at least in part, upon the user state. In addition, an indication of updates to the one or more value functions or the policy may be provided.

In accordance with another aspect, an action may be performed with respect to a user or user activity of the user may be detected. A time since the action was performed with respect to the user or a time since user activity of the user has been detected may be determined. A value function may be updated based, at least in part, upon the time since the action was taken with respect to the user and/or a time since the user activity of the user has been detected, where the value function approximates an expected reward over time for the user.

In accordance with another aspect, an indication that a decision has been requested or selected with respect to one or more users may be obtained. It may be determined whether to schedule, request, or perform a set of one or more activities, where the set of one or more activities includes performing one or more updates and/or selecting one or more decisions, wherein the one or more updates are performed with respect to a value function approximating an expected reward over time for the one or more users and/or with respect to a policy for selecting additional decisions, and wherein the one or more decisions pertain to the one or more users. The set of one or more activities may then be scheduled, requested, or performed according to a result of the determining step.

In accordance with another aspect, an indication that a decision has been requested or selected with respect to one or more users may be obtained. After obtaining the indication of the decision that has been requested or selected, a sequence of one or more activities may be requested or performed according to a schedule, where the sequence of one or more activities include performing one or more updates and/or selecting one or more decisions, where the one or more updates are performed with respect to a value function approximating an expected reward over time for the one or more users and/or with respect to a policy for selecting additional decisions, and where the one or more decisions pertain to the one or more users. In addition, a time at which each of the one or more activities is requested or performed may be independent of activity of the one or more users.

In accordance with yet another aspect, an indication that a decision has been requested or selected with respect to one or more users may be obtained. After obtaining the indication of the decision that has been requested or selected, a schedule according to which a sequence of one or more activities are to be performed may be generated. The sequence of one or more activities may include one or more updates to be performed and/or one or more decisions that are to be selected, where the one or more updates are to be performed with respect to a value function approximating an expected reward over time for the one or more users and/or with respect to a policy for selecting additional decisions, and where the one or more decisions are to be selected with respect to the one or more users. The sequence of one or more activities may then be performed according to the schedule.

In accordance with yet another aspect, an indication of a Decision Request requesting a decision with respect to at least one user may be provided or obtained. A sequence of requests may be generated, where the sequence of requests includes one or more Update Requests and/or one or more Decision Requests, and where each request in the sequence of requests pertains to the at least one user. Each request in the sequence of requests or indication thereof may be provided or transmitted according to a particular schedule. Each of the Decision Requests may indicate a request to select an additional decision with respect to the at least one user. In addition, each of the Update Requests may indicate a request to update a value function approximating an expected reward over time for the one or more users and/or indicate a request to update a policy for selecting additional decisions.

In accordance with yet another aspect, Decision Requests and/or Update Requests may be triggered external to the Learning Decisioning System (or Decisioning Component). Decision Requests and/or Update Requests may also be triggered internal to the Learning Decisioning System (or Decisioning Component). In accordance with various embodiments, Decision Requests and/or Update Requests may be triggered in accordance with one or more timers.

In accordance with yet another aspect, a value function may be defined by a set of one or more equations that include a set of one or more parameters. Each of the parameters of each of the set of equations may have a corresponding weight associated therewith. Thus, a set of weights associated with the value function may include a weight for each parameter in the set of parameters of the value function.

In accordance with yet another aspect, a network device implementing a Decisioning Component may generate an indication of updates to its value function. More particularly, the network device may generate weight information indicating a set of delta values, where the set of delta values includes a delta value for each weight in a set of weights, where the set of weights includes a weight for each of a set of one or more parameters of a value function.

In accordance with yet another aspect, a decisioning system may include a plurality of Decisioning Components. Thus, the updates to the value function and/or the policy for each of the plurality of Decisioning Components may be “combined” to generate an updated value function and/or updated policy for each of the plurality of Decisioning Components. In this manner, a combined value function and/or a combined policy may be generated. The combined value function and/or combined policy may be generated external to the Decisioning Components (e.g., at a central combiner) or internal to each of the Decisioning Components.

In accordance with yet another aspect, each of the Decisioning Components may obtain or otherwise maintain weight information that pertains to its value function and is applicable to the Decisioning Component. Each Decisioning Component may be configured to generate at least a portion of the weight information based, at least in part, upon data received or otherwise obtained by the Decisioning Component. The weight information may indicate the set of delta values. More particularly, the weight information may include the set of delta values generated by the Decisioning Component and/or may include a current set of weights maintained at the Decisioning Component from which the set of delta values may be ascertained.

In accordance with yet another aspect, each of the Decisioning Components may provide updates to its value function by providing weight information maintained by the Decisioning Component. Thus, weight information maintained by each of the Decisioning Components may be “shared” among the Decisioning Components to enable an updated model to be generated. More particularly, the weight information may be shared directly among the Decisioning Components. Alternatively, the sharing of weight information among the Decisioning Components may be facilitated via a combiner.

In accordance with yet another aspect, the Decisioning Components and/or a combiner may be configured for generating an updated value function and/or updated policy. Specifically, the Decisioning Components and/or combiner may be configured for generating a combined policy such that the policy of each of the Decisioning Components is replaced with the combined policy. In addition, the Decisioning Components and/or combiner may be configured for generating a combined value function such that the value function of each of the Decisioning Components is replaced with the combined value function (e.g., represented by a combined set of weights) such that the set of weights of the value function is replaced with the combined set of weights. More particularly, the combined set of weights may be generated based, at least in part, upon weight information generated, obtained, transmitted, or otherwise provided by each of the Decisioning Components, as well as the prior set of weights (which may correspond to a prior combination operation). A combined value function implementing the “updated” set of weights may then be applied by various components of the Decisioning System, such as the Decisioning Components and/or combiner.

In accordance with yet another aspect, the Decisioning Components and/or combiner may be configured for generating a combined set of delta values for use in generating a combined set of weights. More particularly, the combined set of delta values may be generated based, at least in part, upon the weight information (e.g., set of delta values) corresponding to each of the Decisioning Components. Various mechanisms may be applied for generation of the combined set of delta values. These mechanisms may be applied individually or in combination with one another to generate a combined set of delta values based, at least in part, upon the set of delta values pertaining to each of the Decisioning Components.

In accordance with yet another aspect, where a combiner participates in the generation of combined weight information such as a combined set of delta values or a combined set of weights, the combiner may provide the combined weight information to the Decisioning Components. Where the combined weight information includes a combined set of weights, each of the Decisioning Components may then replace its set of weights with the combined set of weights, thereby updating the model applied by the Decisioning Components. Alternatively, where the combined weight information includes a combined set of delta values, each of the Decisioning Components may generate the combined set of weights from the combined set of delta values received from the combiner and replace its set of weights with the combined set of weights.

In accordance with yet another aspect, the Decisioning Components and/or a combiner may communicate or share policy updates, updates to the value functions (e.g., weight information) corresponding to the Decisioning Components, a combined policy, and/or combined weight information between or among one another. This may be accomplished via the transmission of messages. Moreover, the Decisioning Components and/or combiner may share or communicate policy updates, value function updates (e.g., weight information), a combined policy, and/or combined weight information via one or more data stores. Such data stores may be directly accessible by the Decisioning Components and/or combiner, or a third party component may access the data stores for purposes of providing updates to the value function, updates to the policy, a combined policy, or combined weight information to the Decisioning Components and/or combiner. Therefore, information may be provided between or among two or more components of a Learning Decisioning System through the use of messaging and/or one or more data store(s). Accordingly, updates to the value function, updates to the policy, a combined policy, weight information and/or combined weight information may be obtained by the Decisioning Components and/or combiner of a Learning Decisioning System through the use of messaging and/or one or more data store(s).

Various network devices may be configured or adapted for generating, modifying, transmitting, intercepting, and/or processing data or messages to implement the disclosed functionality. These network devices may include, but are not limited to, servers, routers, and switches. Moreover, the functionality for the disclosed processes may be implemented in software as well as hardware.

Yet another aspect of the invention pertains to computer program products including machine-readable media on which are provided program instructions for implementing the methods and techniques disclosed herein, in whole or in part. Any of the methods of this invention may be represented, in whole or in part, as program instructions that can be provided on such machine-readable media. In addition, the invention pertains to various combinations and arrangements of messages, components and/or processes as described herein. For example, instructions for generating, modifying, transmitting, intercepting, and/or processing messages described herein may be provided on appropriate media.

These and other features of the present invention will be described in more detail below in the detailed description and in conjunction with the following figures.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a process flow diagram illustrating an example of a Reinforcement Learning (RL) process.

FIG. 2A is a diagram illustrating an example asynchronous RL process in accordance with various embodiments.

FIG. 2B is a block diagram illustrating an example asynchronous RL system in accordance with various embodiments.

FIG. 2C is a diagram illustrating an example asynchronous RL process in which a single request is processed in accordance with various embodiments.

FIG. 2D is a process flow diagram illustrating an example method of processing a Decision Request in accordance with various embodiments.

FIG. 2E is a process flow diagram illustrating an example method of processing an Update Request in accordance with various embodiments.

FIG. 2F is a process flow diagram illustrating an example method of implementing a Request Processor in accordance with various embodiments.

FIG. 3A is a process flow diagram illustrating an example method of selecting decisions and performing updates according to a schedule in accordance with various embodiments.

FIG. 3B is a process flow diagram illustrating an example method of selecting decisions and performing updates according to a schedule in accordance with various embodiments.

FIG. 3C is a process flow diagram illustrating an example method of generating and transmitting Decision Requests and Update Requests in accordance with various embodiments.

FIG. 4 is a block diagram illustrating an example network in which embodiments of the invention may be implemented.

FIG. 5 is a block diagram illustrating an example system in which embodiments of the invention may be implemented.

FIG. 6 is a block diagram illustrating an example Learning Decisioning System in accordance with one embodiment.

FIG. 7 is a block diagram illustrating an example Learning Decisioning System in accordance with another embodiment.

FIG. 8 is a diagram illustrating an example method of implementing an asynchronous RL process within a system such as a distributed system in accordance with various embodiments.

FIG. 9 is a process flow diagram illustrating an example method of processing an Update Request within a system such as a distributed system in accordance with various embodiments.

FIG. 10 is a diagram illustrating an example system in which various embodiments may be implemented.

FIG. 11 illustrates an example computer system via which various embodiments may be implemented.

DETAILED DESCRIPTION OF THE SPECIFIC EMBODIMENTS

Applications of systems and methods according to one or more embodiments are described in this section. These examples are being provided solely to add context and aid in the understanding of the present disclosure. It will thus be apparent to one skilled in the art that the techniques described herein may be practiced without some or all of these specific details. In other instances, well known process steps have not been described in detail in order to avoid unnecessarily obscuring the present disclosure. Other applications are possible, such that the following examples should not be taken as definitive or limiting either in scope or setting.

In the following detailed description, references are made to the accompanying drawings, which form a part of the description and in which are shown, by way of illustration, specific embodiments. Although these embodiments are described in sufficient detail to enable one skilled in the art to practice the disclosure, it is understood that these examples are not limiting, such that other embodiments may be used and changes may be made without departing from the spirit and scope of the disclosure.

Within a Learning Decisioning System implementing a machine learning algorithm, there will generally be a number of possible actions that the system can take when called on to make a decision. The system may evaluate the possible actions using an evaluation function (i.e., value function) to determine a value for each of the possible actions. In addition, the system may apply a policy to select one of the possible actions based upon the corresponding values that have been determined. An evaluation function and policy may be determined and updated using a machine learning algorithm such as Reinforcement Learning. One method of performing Reinforcement Learning is Temporal Difference Learning. A clear exposition of Temporal Difference Learning applied to machine learning can be found in: “Reinforcement Learning: An Introduction,” by Richard Sutton and Andrew Barto, MIT Press (1998), which is hereby incorporated by reference in its entirety and for all purposes.

In the following description, the terms “Decision Request” and “Update Request” will be used. More particularly, the term “Decision Request” refers generally to a request for the selection of a decision (e.g., an action to be performed) with respect particular user(s). Similarly, an “Update Request” refers generally to a request that an update be performed with respect to a value function and/or policy. Although Decision Requests and Update Requests may be implemented via messages that are transmitted, Decision Requests and Update Requests may also be provided via indicators or other mechanisms.

One example of an implementation of a Temporal Difference Learning process is illustrated in FIG. 1. A Decision Request is passed to the system along with a state s at 102, where the state is a representation of a collection of data describing the current user. A value function is applied at 104 to generate a score for each possible action. A policy is applied at 106 to select one of the possible actions based upon the scores that have been generated. The system may update its value function at 108 with the effects of the previous selected action. The policy may also be updated at this stage, as shown at 110. The updating of the value function and the policy are typically synchronous. In other words, the value function is typically updated at the same time as the policy function.

As shown in FIG. 1, RL has traditionally been a linear, sequential process that is synchronous with the activity of the user. When a selected action is taken with respect to the user, the system typically waits until it detects activity of the user in order to update its value function and policy. Standard RL has traditionally been applied to situations in which there is a sequence of consecutive interactions with the same individual. For example, RL is often applied in situations such as game playing, where the RL system interacts with a single individual for the duration of the game. Due to its linear and sequential nature, RL is not widely applied to systems involving concurrent interactions with multiple users. Moreover, since a conventional RL process typically waits for a situation in which a decision is requested for the same individual before updating its value function, in applications where there are long delays until the next Decision Request for the same user or, indeed, where the same user never returns, then long delays can be built into the learning.

Various embodiments may operate in conditions in which there is an irregular sequence of Decision Requests. For example, decisions with respect to possible actions may be requested at any time. Similarly, “rewards” in the form of customer actions in response to such decisions may be received or detected at any time. In accordance with various embodiments, policy and/or value functions may be updated regardless of whether a particular user returns (e.g., to a website or a customer call center) or whether there is a long delay after an action has been taken with respect to the user. Moreover, for a single Decision Request, multiple updates may be performed. As will be described in further detail below, RL may be performed in an asynchronous manner to support automated decision making.

Moreover, the disclosed embodiments may be configured to support interaction with many, for example thousands, of customers concurrently. Instead of one long sequence of interactions with the same user, there may be many sparse interactions with different users occurring in parallel and representing different environments. Therefore, the disclosed embodiments may update the model (e.g., value function(s)) and/or policy sooner than the next interaction with the same customer.

The disclosed embodiments may be implemented as one or more sub-processes distributed across one or more computing devices or processors. For example, the processes described herein may be performed by each one of one or more Decisioning Components in the asynchronous RL system. More particularly, each Decisioning Component may be implemented via a separate computing device or processor.

In accordance with various embodiments, it is possible to configure the system (e.g., each Decisioning Component) with an initial value function and/or policy. However, the system need not be configured with knowledge of customer behavior. Rather, the system may support a “cold start.” Therefore, initial operation of the system may start from a position of no customer knowledge, and may learn to make appropriate decisions as set forth herein.

Human customers are complex decision makers that make decisions based upon large numbers of factors that may not be detectable by the system. The asynchronous RL system may operate in an unknown environment based entirely on data observed by the system (e.g., the history of interactions with the customer, rather than any pre-specified model of customer behavior.)

For any system attempting to optimize goals such as total customer spending, there may be some delay between the action that is chosen and executed, and the effects of that action occurring. For example, where the system sends an email with a product recommendation or discount code to a customer, this may lead to a purchase by the customer sometime in the next few days rather than an immediate purchase. The disclosed embodiments enable an asynchronous RL process to be advantageously applied in an environment in which customer feedback or responses are delayed (or non-existent).

In any decisioning environment, circumstances may change over time. For example a breaking news story on a website serving targeted news content may become popular very rapidly only to be forgotten about, equally rapidly, a couple of days later. Therefore, a Decisioning System such as that described herein may operate to efficiently respond to change, and learn from these changes.

In the following examples, an asynchronous RL process is described with reference to a customer website. However, it is important to note that these examples are merely illustrative. Therefore, the terms “user” and “customer” will be used interchangeably. Accordingly, the disclosed embodiments may be applied in a variety of environments implementing decision making with respect to users.

FIG. 2A is a process flow diagram illustrating an example asynchronous RL process that may be implemented in accordance with various embodiments. More particularly, the asynchronous process may be performed by a network device (e.g., implementing a Decisioning Component). An indication of a Decision Request 202 may be received, which may update the state. In addition, information (e.g., observation(s)) may be obtained or received, which may also update the state. This information may include Customer Input 204 (denoted by a Customer Input Request) indicating a user event or Other Input (denoted by an Other Input Request) 205. Customer Input may be specific to an individual customer, and may indicate a change in information (e.g., a change in customer profile) or activity with respect to the customer (e.g., visiting a particular page on a website). Other Input may include information indicating a change in the environment that is not specific to an individual customer (e.g., change in bank interest rate). The state may be used in processing Decision Requests and Update Requests. In addition, the state may be used in determining whether to generate additional Decision Request(s) and/or Update Request(s).

As shown in this example, the Decision Request 202, the Customer Input 204, and Other Input 205 may be generated “external” to the Decisioning System or component performing the asynchronous RL process. A Decision Request 202 may pertain to specific customer(s). The system may identify at least one customer at 206 from the Decision Request 202 or customer input request 204 if a customer ID or other identifier (e.g., group ID) is included in the request. For example, the customer ID may be a cookie, an Internet Protocol (IP) address, or some other identifier.

Decision Requests can be triggered whenever an action is requested with respect to one or more customer(s). More particularly, a Decision Request may be triggered when a customer is directly interacting with the company (such as a call center or website of the company). For example, a Decision Request may be triggered when a customer arrives at a targeted web page of the website or when an operator in a customer call center requests real-time recommendations for a customer. In such a scenario, a product recommendation or other suitable advertisement may be selected and presented to the customer (e.g., via a website). Alternatively, a Decision Request with respect to a particular customer may be triggered by a timer event that may or may not be customer specific, or triggered independently from any activity of the customer. For example, a Decision Request (e.g., with respect to specific customer(s) or all customers) may be triggered according to a dynamically generated or predetermined schedule (e.g., to perform email targeted advertising).

A user state pertaining to the customer(s) identified in the request may be received, obtained, accessed, constructed, and/or updated at 208. The user state may be retained in one or more data sources (e.g., in one or more customer profile(s)). Thus, the user state corresponding to a particular customer ID (e.g., historical data for that customer) may be obtained from the data source(s) (e.g., from the customer profile), as appropriate.

The user state may be updated to indicate whether a Decision Request, customer input, or other input was received. More particularly, the customer profile may include a record of the history of interactions of the customer with the company (e.g., website) and any additional customer information. This representation of user state does not typically obey the Markov property. The user state may be represented by a set of variables. While these variables may be used directly as the state, the variables may also be transformed into a feature vector that represents the state, for example using a method such as a discretization, tiling, or radial basis function method. Variables may represent features of customers such as purchase history, browsing history, browser language, browser time-zone, geo-demographic data, etc. To compensate for the fact that a response to an action (e.g., for a particular Decision Request) may be more likely to arrive at some times rather than others, one or more additional variables recording the time since the action was taken, or other time based variables (e.g., time since a last user event), may be added to the state.

The state may be updated with customer specific information from the Decision Request or Customer Input Request. Since the Other Input Request may include information that is applicable to a plurality of customers or all customers, user states of a plurality of customers or all customers may be updated. The state or updates to the state may be provided to and/or otherwise obtained by the Request Processor 210.

In accordance with various embodiments, the Request Processor may process four different types of requests:

-   -   a) A Decision Request (originating either externally at 202 or         internally, e.g. having been returned by loop after an action         has been chosen in 212 and 214).     -   b) An Update Request (originating internally, e.g. having been         returned by the loop after an update has been performed in 216         and 218).     -   c) A Customer Input Request (originating externally at 204).     -   d) An Other Input Request (originating externally at 205).         The Request Processor 210 may determine what to do with a         particular request and when to do it. More particularly, the         Request Processor 210 may determine whether one or more         additional activities, which may not be identified in any of the         above types of received Request(s), should be performed.         Specifically, the Request Processor 210 may determine whether to         trigger the selection of action(s) (which may not be identified         within the received Request(s)) and/or whether to trigger         update(s) to a value function and/or a policy, which may be         determined based, at least in part, upon the user state. If the         Request Processor 210 determines that performing such additional         activities is appropriate, the Request Processor 210 may         determine the appropriate timing for these activities, which may         be determined based, at least in part, upon the user state. More         particularly, selection of decision(s) and/or updates may be         performed immediately by the Request Processor 210, or may be         scheduled to be performed at a later time (e.g., by generating         and storing a schedule). Selecting action(s) and/or performing         updates with respect to the user may be initiated via the use of         Decision and/or Update Requests. Additional Decision and Update         Requests may be triggered in various manners, as will be         described in further detail below.

Any of the above four types of requests may trigger one or more additional Decision and/or Update Requests. In accordance with various embodiments, an Update Request may trigger only additional Update Requests. Of course, in some instances, no further additional Decision or Update Requests will be triggered. Similarly, the Request Processor 210 may choose not to process a particular Update or Decision Request in some instances.

In accordance with various embodiments, a Decision Request may be passed down the decision branch at 210 and processed as shown at 212-214 and 220, and via loop returning to 208. More particularly, the network device may apply a value function at 212 to evaluate the state, apply a policy at 214 to select an action, return the selected action at 220, update the state 208 to reflect the selected action, and the Request Processor may schedule one or more Update Requests (e.g., to occur at future time(s)). However, one or more Update Requests and/or Decision Requests may be triggered or otherwise scheduled via other processes or mechanisms. Changes in the environment or changes detected with respect to the customer (e.g., change in customer profile or web activity), recognized via an Other Input Request or Customer Input Request, may trigger one or more decisions and/or one or more, updates. Moreover, when a series of multiple requests is triggered, these may be scheduled via a single schedule by the Request Processor, which may pass Decision or Update Requests to 212 or 216 at the scheduled times, or the multiple requests may be scheduled consecutively, one request at a time, which may be passed to 212 or 216 as appropriate. More particularly, once the update is performed (as a result of an Update Request) or the action is selected (as a result of a Decision Request), the state may be updated, enabling the next request (e.g., Update Request or Decision Request) to be scheduled based upon the newly updated state. Accordingly, the schedule of the updates may depend directly on the action chosen for a Decision Request or some aspect of the outcome of an Update Request.

The full list of options available to the Request Processor when it receives any request is as follows:

-   -   a) Pass a Decision Request to 212 as the first of several steps         to return an action.     -   b) Schedule a Decision Request to be passed to 212 at some time         in the future. The schedule may be arbitrary, stochastic or may         depend on the user state.     -   c) Schedule multiple Decision Requests to be passed to 212 at         various times in the future. The schedule, again, may be         arbitrary, stochastic or may depend on the user state.     -   d) Pass an Update Request to 216 as the first of several steps         to update the value function and/or policy.     -   e) Schedule an Update Request to be passed to 216 at some time         in the future. The schedule may be arbitrary, stochastic or may         depend on the user state.     -   f) Schedule multiple Update Requests to be passed to 212 at         various times in the future. The schedule, again, may be         arbitrary, stochastic or may depend on the user state.     -   g) Cancel a scheduled Update or Decision Request.         -   One or more of steps a) through g) may be performed             separately, or in combination with one another. Possible             combinations include:     -   h) Pass a Decision Request to 212 as the first of several steps         to return an action and pass an Update Request to 216 as the         first of several steps to update the value function and/or         policy.     -   i) Schedule a Decision Request to be passed to 212 at some time         in the future and schedule an Update Request to be passed to 216         at some time in the future. The schedule may be arbitrary,         stochastic or may depend on the user state.     -   j) Schedule multiple Decision Requests to be passed to 212 at         various times in the future and schedule multiple Update         Requests to be passed to 212 at various times in the future. The         schedule, again, may be arbitrary, stochastic or may depend on         the user state.

A stochastic process has the Markov property, referring to a Markov process, if the conditional probability distribution of future states of the process, given the present state and the past states, depend only upon the present state. That is, the state is a full representation of the environment. The disclosed embodiments may be operable even when such a state description is unavailable. In such implementations, the nature of the problem is that the system has only partial information—there are many unknown factors affecting how the environment reacts to a particular action. In such implementations, the process may receive, obtain, or access observations of the customer (e.g., via a customer profile and corresponding customer history), and the state can be constructed from these observations.

Since the RL process is asynchronous, Update Requests and Decision Requests may be triggered and processed independently from one another, as shown at 210. More particularly, if it is determined at 210 that the request is a Decision Request, one or more value functions may be applied to generate a score for each of one or more possible actions in an action set at 212. In addition, the user state may be updated to indicate that a Decision Request has been received. A decision may be made by applying a policy at 214 to select one of the available actions (e.g., based upon the previously computed scores). An indication of the decision may be provided at 220. For example, an identifier of the selected action may be provided. In addition, the user state may be updated to indicate the action that was selected.

If it is determined at 210 that the request is an Update Request, the value function and/or policy may be updated at 216 and/or 218. In addition, the user state may be updated to indicate that an Update Request has been received. The update to the value function may be performed using any update mechanism that falls under, or is based upon, Reinforcement Learning. For example, the update mechanism may apply a temporal difference approach, such as TD(0), TD(X) or Least Squares Temporal Difference (LSTD). If these standard methods are used, the update to the value function may be performed as though a decision had been made at the previous update (e.g., with the ‘time since the action was taken’ variable denoting the time since the selected action was taken).

Various strategies may be applied to update the policy. As set forth above, the policy controls which action of a set of possible actions is actually chosen when a decision is made (vs a value function that merely calculates a value for a particular action). Generally, it is sometimes beneficial to choose an action other than the action with the highest value, enabling exploration to occur so that better decisions can be made in the future. The policy may be updated by applying a particular function. For example, the policy may be a function of the value function (e.g., epsilon-greedy) or the policy may be computed separately (e.g. by applying actor-critic methods). In the former case, the policy update may be implicit in the value function update. It is also important to note that the policy may be updated at a different time from the value function.

FIG. 2B is a block diagram illustrating an example asynchronous RL system in accordance with various embodiments. A request or input 201 may be received, obtained, or otherwise detected. More particularly, a request may be a Decision or Update Request. For example, a Decision Request or Update Request may be received from another component of the system, or may be generated internally. A Decision Request or Update Request may pertain to at least one user. Thus, a user state for specific user(s) may be updated to indicate that a Decision or Update Request was received. In addition, input such as customer input and/or other input such as that described above may be received, obtained, or otherwise detected. Therefore, the user state may also be updated to reflect any customer and/or other input that has been received, obtained, or otherwise detected.

A Request Processor 203 may be coupled to a Decision Processor 207 and an Update Processor 209, which each represent functional blocks within an asynchronous RL system. In addition, the Request Processor 203 may be coupled to data store(s) 211. Although shown as separate blocks, the Request Processor 203, Decision Processor 207, and Update Processor 209 may be implemented together or separately via one or more network devices or processors. Similarly, the data store 211, the Request Processor 203, Decision Processor 207, and Update Processor 209 may be implemented together or separately via one or more network devices.

The Request Processor 203 may determine whether a request received at 201 is a Decision Request or an Update Request. If the Request Processor 203 determines that a request received at 201 is a Decision Request, the Decision Request may be processed by the Decision Processor 207. Similarly, if the Request Processor determines that a request received at 201 is an Update Request, the Update Request may be processed by the Update Processor 209. An Update Request that is provided or obtained may be activated independent of activity of the user(s) and/or independent of activity of any of a plurality of users (e.g., a plurality or all customers of the website). A Decision Request that is provided or obtained may be activated in response to activity of at least one of the user(s), independent of activity of the user(s) and/or independent of activity of any of a plurality of users (e.g., a plurality or all customers of the website).

The Decision Processor 207 may process a Decision Request as set forth herein. More particularly, a value function may be applied to evaluate a user state, which may be determined based, at least in part, upon information stored at the data store(s) 211. More particularly, a value function may be applied to generate a score for each of a set of one or more possible actions. A policy may be applied to the result of the evaluation (e.g., score(s) generated via application of the value function) to select an action. An identifier of the selected action may then be provided. In addition, the state may be updated to indicate the action that was selected.

The Update Processor 209 may update a value function and/or policy. More particularly, an Update Request may operate as a request to update only the value function, only the policy, or both the value function and the policy. At the time of an update, the Update Processor 209 may store and/or access an indication of the time since the last action was taken with respect to the user and/or other time-based information (e.g., time since the last user event).

The value function may be updated based, at least in part, upon the user state. Thus, the value function may be updated to reflect any reward received since the previous update (e.g., for a particular Decision Request pertaining to the user(s)). The update may reflect activity between the company (e.g., website) and the customer(s) identified in the Update Request, as well as lack of such activity. Such activity may include, for example, purchases by the customer(s) from the company (e.g., website). In addition, the update may reflect other activity or input that is not specific to the user(s), as may be reflected in the user state.

The policy may indicate a percentage of time that the action having a highest corresponding value should be selected. For example, the policy may indicate that the action having the highest corresponding value should be selected 100 percent of the time. However, sometimes it may be desirable to take an action other than the one predicting the highest value, which may enable the asynchronous RL system to explore other possible actions as an investment for better future performance. Thus, the policy may be updated based, at least in part, upon the user state. For example, the prior policy may indicate that the action having the highest score is to be selected 100 percent of the time. However, the updated policy may indicate that the action having the highest score is to be selected 90 percent of the time. In this example, the change in policy may be indicated by a value such as 10 or 0.10.

When the policy and/or value function is updated, the user state may be updated to store data indicating the time since an action was taken with respect to the user and/or time since the last user event. The data may later be used or retrieved for various purposes. For example, this data may be used to update the value function, which indicates a total amount of expected cumulative reward over time (e.g., a period of time) for the user.

The Request Processor 203 may also determine whether to schedule, perform (immediately), and/or request a sequence of one or more activities, and schedule, perform, and/or request the sequence of one or more activities accordingly. The activities may include, for example, updating a value function and/or policy. In order to request a sequence of activities, the Request Processor 203 may generate and transmit a sequence of requests including one or more Decision Requests and/or one or more Update Requests. Moreover, in order to schedule a sequence of activities, the Request Processor may generate a schedule. Once generated, the schedule may be stored to the data store(s) 211 for later retrieval.

Various algorithms and/or formats may be applied to generate the schedule. For example, the schedule may indicate the type of request(s) (e.g., decision and/or update) to be scheduled, future time(s) at which each of the activities is to be performed or requested, and/or a number of requests to be performed or requested. In addition, for a Decision Request, the schedule may also indicate or identify the type of action that is to be selected (e.g., advertisements, content). As a result, the type of action may be used to identify a set of possible actions from which an action is to be selected. The Request Processor may later retrieve the schedule from the data store(s) 211, and request or perform the sequence of activities according to the schedule.

The sequence of activities (e.g., selection of one or more actions and/or performing one or more update(s)) may be scheduled to be performed at different, future times. For example, a sequence of requests may be scheduled to be triggered at different, future times. The time(s) at which the sequence of activities is scheduled to be performed may be determined based, at least in part, upon the time since the last action was taken for the particular user or the time since a last user event. The time since the last action was taken or the time since a last user event for the particular user may be determined from the user state, or may be separately determined (e.g., at the time of processing the most recently received request).

The determination(s) made by the Request Processor may be made based, at least in part, upon a user state. For example, the determination(s) may be made based, at least in part, upon the time since the last action was taken for the user or the time since a last user event. Moreover, the determination(s) may be made in response to an indication that a Decision Request, an Update Request, customer input and/or other input was received. In addition, the determination(s) may be made based, at least in part, upon the action chosen for a Decision Request or some aspect of the outcome of an Update Request (e.g., value function update(s), resulting value function parameter(s), policy update, or resulting policy).

FIG. 2C is a process flow diagram illustrating an example asynchronous RL process of processing a single request in accordance with various embodiments. More particularly, the asynchronous update process may be performed by a network device (e.g., implementing a Decisioning Component). An indication of a Decision Request 222 or an indication of an Update Request 224 may be obtained (e.g., received). The Decision Request 222 and/or Update Request 224 may identify specific customer(s) or otherwise indicate an identity of a set of one or more customers. For example, each customer may be identified via a customer identifier (ID). As another example, the Decision Request 222 and/or Update Request 224 may include a group ID. The time since the last action was taken with respect to the user may be recorded (where the request received is not a Decision Request). In addition, the time since the last user event may also be recorded.

The Decision Request 222 and/or the Update Request 224 may be automatically generated or triggered. Alternatively, the Decision Request 222 and/or the Update Request 224 may be generated or triggered in response to various triggers such as customer input (e.g., visiting by the customer of a website) or other input independent of the customer (e.g., stock market or weather changes).

The system may identify at least one customer at 226 from the Decision Request 222 or Update Request 224. More particularly, the request may include a group ID or customer ID. If a group ID is contained in the request, the corresponding customer IDs may be identified. If there is no customer ID in the request, then a customer ID may be created.

A user state pertaining to the customer(s) identified in the request may be received, obtained, accessed, updated, and/or constructed at 228. Since the RL process is asynchronous, Update Requests and Decision Requests may be triggered and processed independently from one another, as shown at 230. More particularly, if it is determined at 230 that the request is a Decision Request, one or more value functions may be applied to generate a score for each of a plurality of possible actions in an action set at 232. A decision may be made by applying a policy at 234 to select one of the available actions (e.g., based upon the previously computed scores). An indicator of the decision (e.g., identifier of the selected action) may then be provided at 236.

If it is determined at 230 that the request is an Update Request, the value function and/or policy may be updated at 238. The update(s) to the value function and/or policy may be performed, as set forth herein.

FIG. 2D is a process flow diagram illustrating an example method of processing a Decision Request via an asynchronous RL process in accordance with various embodiments. As shown at 252, a Decisioning Component may obtain (e.g., receive) an indication of a Decision Request. While the Decision Request may be activated in response to user activity, the Decision Request may also be activated independent of the activity of the user(s) to which the Decision Request pertains and/or the activity of any of a plurality of users (e.g., a plurality or all customers of the website). For example, the Decision Request may be activated in response to an event timer. An event timer may implement a schedule that may be arbitrary, stochastic or may depend on the user state.

The Decisioning Component may receive, obtain, access, update and/or construct a user state pertaining to at least one user (e.g., identified in the request) at 254. The Decisioning Component may score one or more possible actions according to one or more value functions at 256 based, at least in part, upon the user state. In order to maximize the long-term benefit of such an asynchronous RL system, some aspects of the disclosed implementations may be configured to evaluate the actions in terms of total future reward depreciated over time (thus giving a lower weighting to rewards received further in the future). The Decisioning Component may apply a policy to identify one of the scored actions as a decision at 258. The Decisioning Component may provide an indication of the decision at 260 so that the decision may be applied the at least one user at 260. More particularly, an identifier of the selected action may be provided.

In addition, the one or more value functions and/or the policy may be updated at a time when a subsequent Decision Request pertaining to the user has not yet been received. As a result, update(s) may reflect the current user state. Accordingly, such updates may enable the value functions and/or policy to be updated even where the user has not yet returned (e.g., to the website).

FIG. 2E is a process flow diagram illustrating an example method of processing an Update Request via an asynchronous RL process in accordance with various embodiments. As shown at 262, a Decisioning Component may obtain (e.g., receive) an indication of an Update Request. The Update Request may be activated independent of the activity of the user(s) to which the Decision Request pertains and/or the activity of any of a plurality of users (e.g., a plurality or all customers of the website). For example, the Update Request may be activated in response to an event timer. As set forth above, an event timer may implement a schedule that may be arbitrary, stochastic or may depend on the user state.

An Update Request may indicate a request to update both the value function(s) and the policy. Alternatively, the Update Request may be a request to update value function(s) or a request to update the policy. Since the RL system operates in an asynchronous manner, a Decisioning Component may operate to update the value function(s) independently from any update to the policy. Therefore, the value function(s) and the policy may be updated at different times.

The Decisioning Component may receive, obtain, access, construct, and/or update a user state pertaining to the user(s) at 264. More particularly, the user state may be retrieved from the one or more data store(s), which may include a customer profile that indicates the transaction history of the customer. However, if the user state cannot be retrieved, the user state may be constructed.

The Decisioning Component may update the value function(s) and/or a policy based, at least in part, upon the user state pertaining to the user(s) at 238. Thus, the update to the value function(s) and/or the policy may be based upon a different user state than that used to process a prior Decision or Update Request pertaining to the user(s). Accordingly, since the value function(s) may be updated separately and at a different time from the policy, the update to the value function(s) may be based, at least in part, upon a different state from that used to update the policy.

Since the RL system operates in an asynchronous manner, the system may operate to perform an update (e.g., to value function(s) and/or a policy) in response to an Update Request that has been activated independent of the Decision Request. For example, the Update Request may be activated in response to an event timer. As another example, where the Decision Request was also activated independent of activity of the user(s) and/or activity of a plurality of users (e.g., users of the website), the Update Request may be activated in response to a first event timer, while the Decision Request may be activated in response to the first timer or a second event timer independent from the first event timer.

FIG. 2F is a process flow diagram illustrating an example method of implementing a Request Processor in accordance with various embodiments. An indication that a decision has been requested or selected with respect to one or more users may be obtained at 272. It may be determined whether to schedule, request, or perform a set of one or more activities at 274. The set of one or more activities may include performing one or more updates and/or selecting one or more decisions, where the one or more updates are performed with respect to a value function approximating an expected reward over time for the one or more users (e.g., since a first Decision Request has been received with respect to the one or more users) and/or with respect to a policy for selecting additional decisions, and where the one or more decisions pertain to the one or more users.

The determination may be made based, at least in part, upon a user state. Moreover, the determination may be made in response to an indication that a decision has been requested or selected, an Update Request, customer input and/or other input. In addition, the determination may be made based, at least in part, upon the action chosen for a Decision Request or some aspect of the outcome of an Update Request (e.g., value function update(s), resulting value function parameter(s), policy update, or resulting policy). As described above, an Update Request that is provided or obtained may be activated independent of activity of the one or more users and/or independent of activity of any of a plurality of users (e.g., a plurality or all customers of the website).

The set of one or more activities may then be scheduled, requested, or performed at 276 according to a result of the determining step. Various methods of scheduling, requesting and/or performing additional updates and/or decision selections will be described in further detail below.

Scheduling, Performing, and Requesting Additional Decisions and Updates

A Decision Request indicating a request for a customer decision (e.g., selection of one or more actions to be taken with respect to one or more users) may be generated “external” or “internal” to the network device (e.g., Decisioning Component) performing the asynchronous RL process. Similarly, an Update Request indicating a request to update a value function and/or policy may be generated “external” or “internal” to the device (e.g., Decisioning Component) performing the asynchronous RL process.

A decision or Update Request may indicate an identity of one or more users (e.g., via customer or group ID). A Decision Request may also indicate a type of action (e.g., advertisement, content, etc.) for which an action is to be selected.

Additional Decision Request(s) can be triggered whenever a decision with respect to an action is requested with respect to specific customer(s) (e.g., when a Decision Request is received). More particularly, a Decision Request may be triggered when a customer is directly interacting with the company (such as a call center or website of the company). For example, a Decision Request may be triggered when a customer arrives at a targeted web page of the website or when an operator in a customer call center requests real-time recommendations for a customer. In such a scenario, a product recommendation or other suitable advertisement may be selected and presented to the user (e.g., via a website). Alternatively, a Decision Request with respect to a particular customer (or group of customers) may be triggered by a timer event that may or may not be customer specific, or may be triggered independently from any activity of the customer and/or the activity of any of a plurality of users (e.g., a plurality or all customers of the website). For example, one or more Decision Requests may be triggered according to a dynamically generated or predetermined schedule (e.g., to perform email targeted advertising). As another example, one or more Decision Requests may be triggered in response to information not pertaining to the activity of the customer (e.g., environmental conditions or stock market conditions). Moreover, one or more Decision Requests may be triggered in response to an outcome of a prior Update or Decision Request.

Decision Request(s) that are triggered may pertain to the same type of action as the original Decision Request. For example, the original Decision Request may request that a targeted advertisement be selected to send to a particular user via electronic mail, and subsequent Decision Request(s) that are triggered for the user may also request that targeted advertisement(s) be selected to send to the particular user via electronic mail. Alternatively, the Decision Request(s) that are triggered may pertain to one or more different types of actions from the type of action to which the original request pertains. For example, the original Decision Request may request that a targeted advertisement be selected to send to a particular user via electronic mail, and subsequent Decision Request(s) that are triggered for the user may request that targeted content be selected to send to the user via electronic mail. Example types of actions include, but are not limited to, providing targeted content for a website, providing targeted advertisements for sending via email, providing targeted offers at a point of sale, or generating targeted messages for providing to the at least one user via a call center.

Update Request(s) can be triggered to request an update to the value function and/or policy. An Update Request may be triggered in response to activity of customer(s). For example, an Update Request may be triggered when a customer interacts with the company (e.g., via the company website). Alternatively, an Update Request with respect to a particular customer (or group of customers) may be triggered by a timer event that may or may not be customer specific, or may be triggered independently from any activity of the customer and/or activity of any of a plurality of users (e.g., a plurality or all customers of the website). For example, one or more Update Requests may be triggered according to a dynamically generated or predetermined schedule. As another example, one or more Update Requests may be triggered in response to information not pertaining to the activity of the customer (e.g., environmental conditions or stock market conditions). Moreover, one or more Update Requests may be triggered in response to an outcome of a prior Update or Decision Request.

In accordance with various embodiments, an Update Request with respect to particular customer(s) can be triggered at any time after a decision has been taken (e.g., an action has been selected and taken with respect to the particular customer(s)). Moreover, multiple Update Requests may be triggered after a decision has been taken (e.g., with respect to the particular customer(s)) with the objective of incorporating response (or non-response) data (e.g., of the particular customer(s)) into the value function and/or policy as early as possible. Therefore, the disclosed embodiments may update a value function and/or policy even where a response to an action taken with respect a customer is not received or detected.

Decision Requests and Update Requests may be triggered independent from the activity of the customers of the company (e.g., website). More particularly, a Decision Request issued with respect to particular customer(s) or an Update Request issued with respect to particular customer(s) may be generated at a time that is entirely unrelated to and independent of any activity of the customer(s) identified within the request and/or a plurality of customers (e.g., all customers of the website). Thus, a value function and/or policy may be updated at a time that is entirely unrelated to any activity of the customers of the company (e.g., website) or, more particularly, at a time that is unrelated to activity of the customer(s) identified within the Update Request.

Moreover, due to the asynchronous nature of the RL system, Decision Requests and Update Requests may be triggered and processed independently, and at different times. More particularly, an Update Request with respect to particular customer(s) may be triggered at a time that is different from a time at which a Decision Request is triggered with respect to the particular customer(s). Furthermore, the value function may be updated at a time that differs from a time at which the policy is updated.

A frequency with which Decision Requests or Update Requests are generated or provided may be fixed or variable, which may be indicated via a schedule. Thus, Decision Requests or Update Requests may be generated or provided at fixed or variable time intervals between the successive requests. Moreover, a schedule indicating the times at which the system is to generate or provide Decision Request(s) and/or Update Request(s) may be pre-determined or dynamically generated at a single point in time or over multiple points in time. Such a schedule indicating future time(s) that the request(s) are to be provided may be generated based, at least in part, upon a user state (e.g., retrieved from a user profile) or other information (e.g., type of action to be selected for a Decision Request), or may be random, arbitrary, or stochastic. Similarly, the number and/or type of request(s) (e.g., decision and/or update) that are scheduled may be determined based, at least in part, upon the user state, other information (e.g., type of action to be selected for a Decision Request) or may be random, arbitrary, or stochastic.

One or more event timers may be configured to trigger Decision Requests. For example, in the case of targeted email, a timer may be configured to trigger a Decision Request at regular intervals to trigger a targeted email process. More particularly, upon receiving a Decision Request, the targeted email process may decide which customers should receive targeted email. The timer may be configured, for example, to run a targeted email process nightly or during the weekend.

Similarly, one or more timers may be configured to trigger update events (e.g., requests). Timer events are a mechanism of ensuring that updates are made in a timely manner, without relying or being dependent on interactions with a particular customer, so that any learning can be applied more rapidly with other customers.

Moreover, Decision Requests and/or Update Requests may be generated at a frequency based, at least in part, upon a period of time from a last action performed with respect to at least one of the specific customer(s) and/or a period of time from a last user event of at least one of the customer(s) (e.g., interaction of at least one of the customer(s) with a website). For example, the frequency with which an event timer generates a Decision Request and/or Update Request may decrease as the period of time from the last user event and/or last action performed with respect to at least one of the customer(s) increases.

In accordance with various embodiments, a timer may generate a periodic Update Request and/or Decision Request at a greater frequency immediately (e.g., within a first pre-defined period of time) after a decision has been made with respect to a customer. Moreover, an Update Request and/or Decision Request may be generated at a lower frequency after a second pre-defined period of time from when the decision has been made has lapsed. In some embodiments, an Update Request and/or Decision Request may be generated at a random time after the first pre-defined period of time has lapsed, but prior to the second pre-defined period of time. Alternatively, an Update Request and/or Decision Request may be generated with a lower frequency as the time after the decision has been made increases.

FIG. 3A is a process flow diagram illustrating an example method of selecting decisions and performing updates in accordance with various embodiments. An indication that a decision has been requested or selected with respect to one or more users may be obtained at 302. After obtaining the indication of the decision that has been requested or selected, a sequence of one or more activities may be requested or performed according to a schedule at 306. The sequence of one or more activities may include performing one or more updates and/or selecting one or more decisions, wherein the one or more updates are performed with respect to a value function approximating an expected reward over time for the one or more users (e.g., since a first decision was requested with respect to the one or more users) and/or with respect to a policy for selecting additional decisions, and wherein the one or more decisions pertain to the one or more users, wherein a time at which each of the one or more activities is requested or performed is independent of activity of the one or more users.

The sequence of activities may be requested or performed in response to a determination made by a Request Processor. The determination may be made based, at least in part, upon a user state. Moreover, the determination may be made in response to an indication that a decision was requested or selected, an Update Request, customer input and/or other input. In addition, the determination may be made based, at least in part, upon the action chosen for a Decision Request or some aspect of the outcome of an Update Request (e.g., value function update(s), resulting value function parameter(s), policy update, or resulting policy). As described above, an Update Request that is provided or obtained may be activated independent of activity of the one or more users and/or independent of activity of any of a plurality of users (e.g., a plurality or all customers of the website).

FIG. 3B is a process flow diagram illustrating an example method of selecting decisions and performing updates according to a schedule in accordance with various embodiments. An indication that a decision has been requested or selected with respect to one or more users may be obtained at 312. After obtaining an indication that a decision that has been requested or selected, a schedule may be generated at 314. More particularly, the schedule may indicate a sequence of one or more activities that are to be performed, the sequence of one or more activities including one or more updates to be performed and/or one or more decisions that are to be selected, wherein the one or more updates are to be performed with respect to a value function approximating an expected reward over time for the one or more users (e.g., since a first decision was requested with respect to the one or more users) and/or with respect to a policy for selecting additional decisions, and wherein the one or more decisions are to be selected with respect to the one or more users.

The schedule may be generated in response to a determination made by a Request Processor. The determination may be made based, at least in part, upon a user state. Moreover, the determination may be made in response to an indication that a decision was requested or selected, an Update Request, customer input and/or other input. In addition, the determination may be made based, at least in part, upon the action chosen for a Decision Request or some aspect of the outcome of an Update Request (e.g., value function update(s), resulting value function parameter(s), policy update, or resulting policy). As described above, a Decision or Update Request that is provided or obtained may be activated independent of activity of the at least one user and/or independent of activity of any of a plurality of users (e.g., a plurality or all customers of the website).

The sequence of one or more activities may then be performed according to the schedule at 316. For example, the schedule that was previously generated may be retrieved from memory.

FIG. 3C is a process flow diagram illustrating an example method of generating Decision Requests and Update Requests in accordance with various embodiments. An indication of a Decision Request may be provided (e.g., transmitted) or obtained (e.g., received) at 322. As described above, the Decision Request that is provided or obtained may be activated independent of activity of the at least one user and/or independent of activity of any of a plurality of users (e.g., a plurality or all customers of the website). The Decision Request may pertain to at least one user. More particularly, the Decision Request may indicate an identity of at least one user. For example, the Decision Request may include a customer identifier or group identifier associated with a group of customers.

In addition, a user state pertaining to the at least one user may be received, obtained, accessed, constructed, and/or updated. The user state may be used, for example, to determine a number of requests to generate, the type of requests to generate, and/or a particular schedule according to which the requests are to be provided. The user state may indicate a total expected reward associated with the user(s) over time since a first Decision Request pertaining to the user(s) was provided or obtained.

A sequence of requests may be generated at 324, where the sequence of requests includes one or more Update Requests and/or one or more Decision Requests. For example, the sequence of requests may be generated based, at least in part, on the user state, as indicated above. Each request in the sequence of requests may pertain to the at least one user. More particularly, each request in the sequence of requests may indicate an identity of the at least one user (e.g., via customer or group identifier).

The schedule and/or sequence of requests may be generated in response to a determination made by a Request Processor. The determination may be made based, at least in part, upon a user state. Moreover, the determination may be made in response to a Decision Request, an Update Request, customer input and/or other input. In addition, the determination may be made based, at least in part, upon the action chosen for a Decision Request or some aspect of the outcome of an Update Request (e.g., value function update(s), resulting value function parameter(s), policy update, or resulting policy).

Each request in the sequence of requests (or indication thereof) may then be provided or transmitted at 326 according to a particular schedule. More particularly, the particular schedule may be determined independent of activity of the at least one user and/or independent of activity of any of a plurality of users (e.g., a plurality or all customers of the website). For example, each request or indication thereof may be generated by and/or directed to a Decisioning Component according to a particular schedule such as that described above.

The disclosed embodiments relate to the generation and updating of models by machine learning systems. More particularly, the disclosed embodiments pertain to machine learning systems implementing asynchronous Reinforcement Learning (RL) that are configured to generate and/or update models (e.g., value functions) for scoring possible actions and/or policies for selecting one of the possible actions according to the corresponding scores. Automated decision making may be made on data such as customer data based, at least in part, upon a value function and policy. Such decisions may include, but are not limited to, the serving of targeted content or advertisements via a website or other mechanism.

A machine learning system may generate and/or update a model (e.g., value function) and/or policy for use in a variety of systems. FIG. 4 is a diagram illustrating an example network in which embodiments of the invention may be implemented. As shown in FIG. 4, the system may include one or more servers 402 associated with a website. Each of the servers 402 may include one or more processors. The servers 402 may support the generation and/or updating of one or more value functions and/or policies, as will be described in further detail below.

The server(s) 402 may enable the website to provide a variety of services to its users. For example, users of the website may purchase products via the website and/or perform searches via the website. In this example, the server(s) 402 may obtain or otherwise receive data (e.g., customer profile data) and/or requests (e.g., search requests or purchase requests) via the Internet 404 from one or more computers 406, 408, 410 in association with corresponding entities 412, 414, 416, respectively. For example, each of the entities 412, 414, 416 may be an individual that is a user (e.g., customer) of the website.

The server(s) 402 may enable the users 412, 414, 416 to submit search queries via the website (e.g., to identify products that the user wishes to purchase) and/or purchase products via the website. In addition, the server(s) may enable the users 412, 414, 416 to generate and/or modify and/or have automatically generated and maintained a customer profile pertaining to the user. The customer profile may define various features of the user. For example, the customer profile may include personal information such as residence address, zip code, gender, and/or age. In addition, the customer profile may include information pertaining to the user's website activities, such as search activities or purchase activities. Thus, the customer profile may include information pertaining to the user's previous purchases, credit card information, etc. The customer profile may also include information indicating the user's responses to customer decisions such as content serving decisions made by the server(s) 402. For example, the customer profile may store information indicating whether the user responded to a particular content serving decision by clicking on content (e.g., product information or offer(s)) provided to the user by the server(s) 402 or by purchasing a product represented by the content presented to the user by the server(s) 402.

Data such as a user state for a plurality of users, which may include customer profile information, may be retained in one or more data stores 418. The data stores 418 may correspond to multiple distributed devices and data stores. The data may be used for a variety of purposes including, but not limited to, generating and/or updating a value function and/or policy for use in automated decision making More particularly, a value function and policy may be used together with customer profile information for a particular user (or set of users) to make a customer decision for that particular user (or set of users). The data stores 418 may also store data pertaining to value function(s) and corresponding policies, as well as data pertaining to the generation and/or update of the value function(s) and corresponding policies.

A customer decision may include one or more actions to be taken with respect to a user. A customer decision may be selected from a set of permissible actions that can be taken with respect to the particular user. For example, each action in the set of permissible actions may be associated with (e.g., designed for) a different category of user. As another example, a plurality of sets of permissible actions may be stored, where each set of permissible actions is associated with a different category of user. In this manner, it is possible to appeal to different segments of the population.

In accordance with various embodiments, a model (e.g., value function) and corresponding policy may be applied to customer data to categorize a particular user or otherwise identify an appropriate customer decision. Thus, an action to be taken with respect to a user may be selected from a set of permissible actions based, at least in part, upon a result of applying the value function and policy to customer profile data of the user. As one example, a customer decision may include selection of targeted content such as one or more product suggestions or special offers to be served via the website or another mechanism such as a customer call center, electronic mail or Short Message Service (SMS) messages.

In accordance with various embodiments, a customer decision and/or update event may be triggered via a trigger event. A trigger event may include activity of the user. For example, a trigger event may include the arrival of the user at a particular web page of the website, the purchase of a particular product, the clicking on information pertaining to a particular product, or the saving of information pertaining to a particular product in the user's shopping cart. Alternatively, a trigger event may include a signal generated as a result of a random or periodic timer (which may generate a signal at fixed or varying intervals). Moreover, a trigger event may include information not pertaining directly or solely to the activity of the user. Furthermore, a trigger event may be based, at least in part, upon an outcome of a prior customer decision or update event.

Machine learning systems implementing a RL process may periodically rebuild a model (e.g., value function) and/or policy off-line using a current set of data, then apply the value function and policy for decision making until the next rebuild. Alternatively, machine learning systems may incrementally update a model (e.g., value function) and/or policy as customer decisions are made and responses to those customer decisions are known. Through the use of a value function and corresponding policy, predictions as to likely responses of users to system-generated customer decisions may be produced. Accordingly, a value function and corresponding policy may be applied to customer data to select a customer decision that is appropriate for a particular user.

In accordance with various embodiments, the Learning Decisioning System may incrementally update one or more models (e.g., value functions) and/or one or more policies based, at least in part, upon data in the data stores 418 (e.g., customer data). The data may indicate user features across website user events. Example website user events include, but are not limited to, the visiting of the customer website by a user, performing a search of the customer website by the user, clicking on targeted content by a user, providing an offer to a user, and a purchase by a user of one or more products offered for sale via the website.

The user features may include features of users interacting with the website via website user events. More particularly, features of the users may be personal to the user and independent from the website user events. For example, such features may include age, gender, zip code, etc. Moreover, the user features may include features of the website user events during which the users interact with the website. More particularly, the features of website user events may be independent from the features of the users. Example features of website user events include, but are not limited to, the day of the week of a purchase or website visit by a user, number of times the user visited the website or completed a purchase from the company, acceptance or rejection of an offer provided to the user, the number of products purchased from the company by the user (e.g., via the website), and/or the value of a purchase by the user of one or more products offered for sale by the company (e.g., via the website). Therefore, each time a user interacts with the company (e.g., visits the customer website), user features such as personal features of the user and/or features of the user events may be obtained and stored in the data stores 418. Therefore, the data stores 418 may store data associated with one or more users.

FIG. 5 is a diagram illustrating an example system in which embodiments of the invention may be implemented. As shown in FIG. 5, a user 500 may connect via a computer 502 via the Internet to a website such as a Company Website 504. More particularly, the user 500 may connect via a web browser of the computer 502, which submits a web page request 506 to the Company Website 504. Web pages are typically requested and served from web servers using Hypertext Transfer Protocol (HTTP).

Upon receiving the page request 506 (or at a time independent from activity of the user), the Company Website 504 may identify content that is appropriate to provide to the user 500. In this example, the Company Website 504 may send a request. In this example, the Company Website sends a request for content 508 to a Content Management System 510 that manages content that may be provided to users. More particularly, the Content Management System 510 may store content information for each of one or more content options, which may each be identified by a corresponding content identifier (ID). For example, content options may pertain to content such as products and/or special offers.

In accordance with various embodiments, each of one or more content options may pertain to a different one of one or more products offered for sale via the Company Website 504. Thus, the Content Management System 510 may store product information pertaining to each of the plurality of products that may be purchased from the company (e.g., via the website). For example, the product information for a particular product may include a product title, product description, price, and/or one or more photographs illustrating the particular product.

Furthermore, each of the plurality of content options may pertain to a different one of one or more offers that may be provided to users. Thus, the Content Management System 510 may store offer information pertaining to each of the plurality of offers that may be provided by the company (e.g., via the website, email, text message, or another mechanism). For example, an offer may pertain to a particular product. As another example, an offer may provide a general benefit such as free shipping or a coupon worth a particular dollar amount or percentage.

When a decision with respect to a particular user is requested, a Decision Request may be triggered (e.g., by the Content Management System 510). For example, in order to identify one or more content options to provide to the user 500, the Content Management System 510 may send a Request such as Decision Request (e.g., for targeted content) at 512 to a Learning Decisioning System 514 including two or more Decisioning Components. In addition, the Content Management System may trigger Update Requests, as described herein. Thus, the Content Management System 510 may send an Update Request at 512 to the Learning Decisioning System 514.

Each of the Decisioning Components may implement a machine learning system via a machine learning technique. For example, the Decisioning Components of the Learning Decisioning System 514 may implement a machine learning technique such as asynchronous Reinforcement Learning, as described herein. It may be desirable to send a Decision Request in response to user activity such as the page request 506 (which may identify the user). However, in accordance with various embodiments, Request(s) such as Decision Request(s) and/or Update Request(s) may also be triggered independent from activity of users of the website or specific user(s) identified in the Request(s). For example, the Decision Request(s) and/or Update Request(s) may be triggered in response to one or more timers. Information identifying one or more user(s) may be provided via the Request(s) such as the Decision Requests for content 508, 512 or Update Request(s). For example, the information identifying the user may include a Customer ID, which may be a cookie ID or some other customer identifier. The Learning Decisioning System 514 may use the Customer ID 516 to access the customer profile for the user in the customer profiles 518. Once customer profile information has been obtained from the customer profile store 518, the Learning Decisioning System 514 may make a customer decision by selecting one of one or more possible actions based, at least in part, upon the customer profile information, a value function, and policy, which may be generated and/or updated, as described herein. For example, the Learning Decisioning System 514 may select appropriate targeted content for the user 500. Upon making a decision by selecting one of the available actions (e.g., by identifying the appropriate targeted content for the user), the Learning Decisioning System 514 may send an action identifier (ID) such as a content ID 520 identifying targeted content to the Content Management System 510. The Content Management System 510 may retrieve and send targeted content 522 identified by the content ID 520 via the Company Website 504, which may provide a web page including the targeted content 524 via the computer 502 to the user 500. Alternatively, the targeted content 522 may be provided via another mechanism, such as email or text message.

In accordance with various embodiments, the Learning Decisioning System 514 may make a customer decision such as select appropriate targeted content for the user by applying a value function and policy to customer profile information retrieved from the customer profile store 518. For example, through the use of a value function, the Learning Decisioning System 514 may generate a score using customer profile information retrieved from the customer profile store 518. A value function may be implemented in many ways. For example, a value function may be implemented via a set of mathematical equations including one or more variables. Each of the variables may represent a different user feature. For example, a variable may represent a user feature such as age or gender of users across various website user events.

Each equation may correspond to a possible action that may be taken with respect to a user. A value for each of the variables representing user features may be retrieved for a particular user from the customer profile information for that user. In the mathematical equation, a set of weights may include a weight associated with each corresponding variable (i.e., parameter) of one or more of the variables. For example, a value function may be represented by a mathematical equation such as A_(i)X+B_(i)Y+C_(i)Z=R_(i), where X represents feature 1 (e.g., age<=20), Y represents feature 2 (e.g., gender=F), and Z represents feature 3 (e.g., number of times the user has visited the website>=15 and <20), A, is a weight (i.e., multiplying factor) associated with variable X to score action i, B, is a weight associated with variable Y to score action i, C, is a weight associated with variable Z to score action i, and R_(i) represents the numerical result, which may be referred to as a score of the action. A policy may then be applied to determine, from the various values of which action to take with respect to the user. One possible method is simply to select the action R_(i) with the largest score.

In accordance with various embodiments, generation and/or updating of a value function and/or policy may be performed using data associated with variable(s) of various types. For example, value functions may be generated and/or updated for variables including ordinal, continuous, discrete, nominal, and/or binary variables. Non-numerical data values for various variables may be represented via numerical or binary values. For example, a nominal variable may have each of a finite number of its possible values mapped to a binary value of 1 with any other value mapped to a binary value of 0.

The generation or updating of a value function and corresponding weights may be determined through the use of customer profile information collected for one or more customers over time. More particularly, a value function may be generated or updated based, at least in part, upon data values collected for one or more parameters of the value function.

Once a customer decision for the user and an outcome of that decision has been identified, the customer decision and outcome may be recorded in the form of an update 526 to the user state (e.g., customer profile for the user). For example, the outcome may include the user clicking on the targeted content, ignoring the targeted content, purchasing the product identified in the targeted content, or applying a special offer provided in the targeted content. Therefore, recently obtained or updated raw customer profile data 528 from the user's customer profile may be stored in the Customer Profiles 518. More particularly, data such as numerical values corresponding to each of one or more user features (and corresponding variables) may be stored. In addition, profile data 528 may retrieved from the Customer Profiles 518 for use by the Learning Decisioning System 514. In addition, a time since the last action was taken (e.g., in response to a Decision Request) may be recorded.

The Learning Decisioning System 514 may access customer profile data for each of one or more variables to generate decisions for users. More particularly, the Learning Decisioning System 514 may periodically generate or update the policy and/or the value function based, at least in part, upon the customer profile data. Since the customer profile data may indicate user responses to customer decisions, the Learning Decisioning System 514 may learn the best actions (e.g., targeting content options) to select for various categories of users. Furthermore, through the generation and/or updating of a value function, the Learning Decisioning System 514 may generalize and predict user responses based upon previously stored data.

In accordance with various embodiments, a value function and/or policy may be generated or updated off-line. Alternatively, in order to build value functions and policies that reflect current data, a value function or policy may be generated or updated on-line incrementally as data is received, obtained, and/or processed. Through the generation and/or updating of value functions and/or corresponding policies in real-time, the value functions and/or corresponding policies may be dynamically modified in a real-time data environment.

The functional blocks shown and described above with reference to FIG. 5 may be implemented via one or more servers. In addition, it is important to note that the functional blocks are merely illustrative. Therefore, the disclosed embodiments may be implemented in other contexts or systems.

To facilitate efficient, parallel, distributed decision making, the asynchronous RL process may be performed in a distributed manner via a distributed architecture. More particularly, decision making and update processes may be distributed over two or more Decisioning Components with each only seeing a fraction of the total decisions and updates. Each of the Decisioning Components may be implemented via a corresponding computing device or processor. Thus, the asynchronous RL process may be distributed across a plurality of computing devices, which each include one or more processors configured to perform a method of asynchronous RL. An example system and distributed architecture will be described in further detail below.

In accordance with various embodiments, the generation or updating of a value function and/or policy may be performed via a Learning Decisioning System including two or more components. More particularly, each of the Decisioning Components may implement an automated machine learning system via an asynchronous RL process. Since the Learning Decisioning System may include any number of Decisioning Components, the Learning Decisioning System is scalable for use in any type of network environment.

Each of the Decisioning Components may be statically and/or dynamically configured with the same value function and/or policy. However, each of the Decisioning Components may periodically and incrementally generate and/or update its own value function and/or policy using a different set of data. Since each of the Decisioning Components may process a different set of data, each of these value functions and policies may differ. Through the disclosed embodiments, these value functions may be “combined” to generate and/or update a global value function. Similarly, the policies may be “combined” to generate a global policy.

In accordance with various embodiments, each of the Decisioning Components may generate and/or update its value function by generating or updating its own set of weights, which may represent the value function being implemented by that Decisioning Component. Through the use of the separate sets of weights (or corresponding information), the Decisioning System may “combine” the different sets of weights to generate and/or update a combined set of weights of the value function. The combined set of weights may then be applied by each of the Decisioning Components. Various mechanisms of implementing a distributed Learning Decisioning System will be described in further detail below.

FIG. 6 is a block diagram illustrating an example Learning Decisioning System in accordance with one embodiment. As shown in this example, the Learning Decisioning System 514 may include a traffic routing component such as a Load Balancer 602 that is configured to obtain data pertaining to one or more users (e.g., where the data pertains to one or more website user events) and distribute the data among a set of two or more Decisioning Components, shown as Decisioning Component 1 604 a, Decisioning Component 2 604 b, and Decisioning Component n 604 n. For example, the Load Balancer 602 may route traffic in real-time as users interact with the website. As another example, the Load Balancer 602 may access one or more data stores and provide data from the data stores to the Decisioning Components 604 a-604 n. More particularly, the Load Balancer 602 may obtain a set of customer data pertaining to a set of one or more customers from the data stores and provide the set of customer data to a particular one of the Decisioning Components 604 a-604 n. Therefore, the Decisioning Components 604 a-604 n and the Load Balancer 602 may communicate via a network.

Each of the Decisioning Components may be implemented via one or more corresponding processors or network devices. Moreover, each of the Decisioning Components may be implemented by a separate set of one or more processors or network devices, thereby distributing the incremental update process among multiple processors and/or network devices. Periodically, a combine operation may be performed to ensure that the Decisioning Components may each update their value functions and/or policies in accordance with the value functions and/or policies maintained by the other Decisioning Components. In order to implement a combine operation, the set of Decisioning Components 604 a-604 n may communicate with one another to enable updates to the respective value functions and/or policies to be shared. More particularly, in order to communicate updates to the value functions, each of the Decisioning Components 604 a-604 n may generate and/or maintain weight information that it may communicate with the remaining Decisioning Components. This weight information may include a current set of weights maintained by the Decisioning Component, a set of delta values indicating updates (e.g., changes) to a set of weights that was established previously (e.g., via a prior combine operation) as reflected by the set of weights, and/or a set of counts indicating the number of times the set of weights has been updated (e.g., since the prior combine operation). More particularly, the set counts may include a count for each weight in the set of weights. The count for a particular weight (and corresponding parameter) may indicate a number of times the weight has been modified (e.g., since the prior combine operation) by the Decisioning Component.

In accordance with various embodiments, updates to the value function may include information indicating a set of delta values. More particularly, each delta value of a set of delta values corresponds to a different one of the set of weights (and corresponding parameter) and indicates a positive or negative change from the previously established weight to the weight. A positive change may include any amount of change including zero change. A set of delta values may be obtained by subtracting the prior set of weights from the current set of weights. Specifically, the delta value for a particular weight may be obtained by subtracting the prior value for that weight from the current value for that weight. In this manner, a delta value may be generated for each separate weight in the set of weights.

In accordance with various embodiments, each of the set of Decisioning Components 604 a-604 n may transmit one or more message(s) that indicates policy updates and/or weight information corresponding to the value function implemented via the Decisioning Component to the other Decisioning Components. In other words, the Decisioning Components 604 a-604 n may communicate information directly with one another, rather than via a third party component. For example, the Decisioning Components 604 a-604 n may communicate with one another by sending a broadcast message directed to a group address associated with the Decisioning Components 604 a-604. Through the transmission of these messages, each of the set of Decisioning Components 604 a-604 n may collect the policy updates and/or weight information from each of the other Decisioning Components. Alternatively, the Decisioning Components 304 a-304 n may communicate with one another by storing information to one or more shared data stores or otherwise transmitting information for storage to one or more shared data stores. Each of the Decisioning Components 604 a-604 n may separately combine the weight information received or otherwise obtained from each of the other Decisioning Components with its own weight information to generate combined weight information such as a combined set of delta values and/or a combined (e.g., revised) set of weights. Similarly, the Decisioning Components 604 a-604 n may “combine” the policy updates (or indication thereof) received or otherwise obtained from each of the other Decisioning Components with its own policy to generate a “combined” (e.g., revised) policy.

A combined set of delta values may include a combined delta value for each weight in the set of weights. A combined set of delta values may be generated through the application of one or more combination mechanisms. Examples of mechanisms that may be used to generate a combined set of delta values are described in application Ser. No. 13/552,519, entitled “Distributed Scalable Incrementally Updated Models in Decisioning Systems,” by Newnham et al, filed on Jul. 18, 2012, which is incorporated herein by reference in its entirety and for all purposes.

A combined set of weights may include a combined weight for each weight in the set of weights. More particularly, a combined set of weights may be generated by adding the combined set of delta values to the set of weights corresponding to the prior value function. Stated another way, a new weight for a particular parameter may be obtained by summing a combined delta value for that parameter and the prior weight for that parameter value (as determined from the set of weights).

Each of the Decisioning Components 604 a-604 n may replace its current policy with the combined policy. In addition, each of the Decisioning Components 604 a-604 n may replace its current set of weights with the combined set of weights, thereby updating the value function. However, the Decisioning Components 604 a-604 n may also continue to maintain the prior policy and/or prior set of weights for generation of delta values (or policy updates) for the subsequent combine operation(s).

In accordance with various embodiments, Update Requests and/or Decision Requests may be triggered external or internal to the Decisioning System 514. For example, the Content Management System, the Load Balancer 602, or another component may be responsible for generating Decision Requests and/or Update Requests that are transmitted periodically to the Decisioning Components 604 a-604 n. More particularly, one or more timers may be maintained for purposes of generating different corresponding types of Update Requests (e.g., updates to value function(s) and/or updates to policy).

FIG. 7 is a block diagram illustrating an example Learning Decisioning System in accordance with another embodiment. As shown in this example, the Learning Decisioning System 514 may include a Load Balancer 602 that distributes traffic among a set of two or more Decisioning Components, shown as Decisioning Component 1 702 a, Decisioning Component 2 702 b, and Decisioning Component n 702 n. Each of the Decisioning Components may be implemented via separate processors or network devices. Periodically, a combine operation may be performed to ensure that the Decisioning Components may each update their value function and/or policy in accordance with the value function and/or policy maintained by each of the other Decisioning Components. In order to implement a combine operation, the set of Decisioning Components 702 a-702 n may communicate with a central combiner 704 to enable updates to the respective value functions and/or policies to be shared. More particularly, each of the Decisioning Components 702 a-702 n may generate and/or maintain weight information that it may communicate with the combiner 704. As set forth above, this weight information may include a prior set of weights (e.g., applied by all Decisioning Components), a set of weights maintained by the Decisioning Component, delta values indicating updates to a set of weights that was established previously (e.g., via a prior combine operation) as reflected by the lset of weights, and/or a set of counts indicating the number of times each of the set of weights has been modified by the Decisioning Component (e.g., since the prior combine operation).

Each delta value of a set of delta values may correspond to a different one of the set of weights (and corresponding parameter) and indicates a positive (including zero) or negative change from the previously established weight in the set of weights and the weight. A set of delta values may be obtained by subtracting the prior set of weights from the set of weights. In this manner, a delta value may be generated for each separate weight in the set of weights.

In accordance with various embodiments, each of the set of Decisioning Components 702 a-702 n may transmit a message that includes weight information corresponding to the value function implemented via the Decisioning Component to the combiner 704. Thus, through the transmission of these messages, the combiner 704 may collect the updates to the policy and/or updates to the value function (e.g., weight information) from each of the Decisioning Components 702 a-702 n. Alternatively, the Decisioning Components 704 a-704 n may communicate with the combiner by storing information to one or more data stores accessible by the combiner or otherwise transmitting information for storage to one or more data stores accessible by the combiner.

The combiner 704 may combine the policy updates (or indication thereof) received or otherwise obtained from each of the Decisioning Components to generate a “combined” policy. In addition, the combiner 704 may combine the weight information received or otherwise obtained from each of the Decisioning Components to generate combined weight information such as a combined set of delta values and/or a combined (e.g., revised) set of weights. The combiner 704 may then provide this combined policy and/or combined weight information to the Decisioning Components 702 a-702 n. More particularly, the combiner 704 may transmit the combined policy and/or combined weight information to the Decisioning Components 702 a-702 n (e.g., via a group address), and/or store the combined policy and/or combined weight information to one or more data stores.

As set forth above, a combined set of delta values may include a combined delta value for each weight in the set of weights. Examples of mechanisms that may be used to generate a combined set of delta values are described in further detail in application Ser. No. 13/552,519, entitled “Distributed Scalable Incrementally Updated Models in Decisioning Systems,” by Newnham et al, filed on Jul. 18, 2012, which is incorporated herein by reference in its entirety and for all purposes. A combined set of weights may include a combined weight for each weight in the set of weights. Where the combined weight information provided to the Decisioning Components 702 a-702 n includes a combined set of delta values, each of the Decisioning Components 702 a-702 n may separately generate the combined set of weights from the combined set of delta values.

Each of the Decisioning Components 702 a-702 n may replace its set of weights with the combined set of weights, thereby updating the value function. In addition, each of the Decisioning Components 702 a-702 n may replace its policy with the combined policy. However, the Decisioning Components 702 a-702 n may also continue to maintain the prior policy and/or prior value function (e.g., set of weights) for generation of delta values during the subsequent combine operation.

In accordance with various embodiments, Update Requests and/or Decision Requests may be triggered external or internal to the Decisioning System 514. For example, the Content Management system, the load balancer, the central combiner 704, or another component may be responsible for generating Decision Requests and/or Update Requests that are transmitted periodically to the Decisioning Components 702 a-702 n. More particularly, one or more timers may be maintained for purposes of generating different corresponding types of Update Requests (e.g., updates to value function(s) and/or updates to policy). The Decisioning Components 702 a-702 n and the Combiner 704 may communicate via a network.

The Decisioning Components may operate independently from one another. As a result, the Decisioning Components may operate in parallel to perform update processes such as those described herein. Thus, the generation or update of a policy and/or value function (e.g., set of weights and/or corresponding set of delta values) may be performed simultaneously by the Decisioning Components. Since the various operations performed to generate or update a value function and/or policy may be distributed among multiple components, the generation or updating of a value function and/or policy may be performed in an efficient manner in real-time.

A Decisioning Component may update its policy and/or value function (e.g., set of weights and/or delta values) periodically. For example, each Decisioning Component may update its policy and/or value function (e.g., set of weights and/or set of delta values) in response to Update Requests, which may be received periodically after a random period of time or a predetermined period of time has elapsed (e.g., 1 second) independent of the activity of the users of the website. In addition, each Decisioning Component may update its policy and/or value function (e.g., set of weights and/or set of delta values) in response to a particular event, such as after pre-determined number of data values have been received or otherwise obtained by the decisioning module. Once updated, the updated policy and/or updated value function may be applied by the Decisioning Component.

Policy updates (or indications thereof) associated with two or more Decisioning Components may be “combined.” For example, where the policy of one Decisioning Component applies the action having the highest score 80 percent of the time and the policy of another Decisioning Component applies the action having the highest score 90 percent of the time, the “combined” policy may dictate that the combined policy applies the action having the highest score 85 percent of the time. Two or more policies may be combined via a mathematical formula such as taking an average of such percentage values.

Similarly, value function updates (or indications thereof) associated with two or more Decisioning Components may be “combined” using one or more combination techniques. Specifically, value function updates for a particular Decisioning Component may include weight information indicating a set of delta values. Thus, two or more sets of delta values associated with two or more Decisioning Components may be combined. More particularly, for each of one or more weights in a set of weights, the delta value for that weight may be obtained from each of the two or more sets of delta values such that two or more delta values for the weight are obtained. In this manner, the delta value indicating the weight change perceived by each of the Decisioning Components for the particular weight may be obtained and grouped together. The two or more delta values that have been obtained for the weight may be combined to generate a single combined delta value for that weight. Various methods of generating a combined value function within a distributed system such as that described above with reference to FIGS. 6-7 are described in further detail in application Ser. No. 13/552,519, entitled “Distributed Scalable Incrementally Updated Models in Decisioning Systems,” by Newnham et al, filed on Jul. 18, 2012, which is incorporated herein by reference in its entirety and for all purposes.

The disclosed combine processes may be performed at a random time, after a pre-determined period of time has lapsed, or in response to the occurrence of a particular event (e.g., after the receipt of value function updates from other Decisioning Component(s)). Once a combined set of delta values is obtained, a combined set of weights may be generated. Once a combined, revised set of weights is generated, the set of weights may be replaced by the combined set of weights such that the value function is updated. More particularly, a combined set of weights may include a combined weight for each weight in the set of weights. A combined set of weights may be generated by adding the combined set of delta values to the set of weights corresponding to the prior model. Stated another way, a new weight for a particular parameter may be obtained by summing a combined delta value for that parameter and the prior weight for that parameter value (as determined from the set of weights). After the set of weights has been replaced with the combined set of weights, the value function may be applied.

Once generated or updated, a policy and value function may be applied to generate customer decisions for users such as those who are customers of a particular company (e.g., website). For example, the value function and associated policy may be applied to identify content to serve the users. Upon applying customer decisions to users, customer profiles may be updated immediately to record the customer decisions. Similarly, customer profiles may be updated with customer responses as the responses (or non-responses) are detected. Since the value function and/or policy may be incrementally updated in real-time, customer decisions generated via the value function and policy may be made based upon the most recent data available. Accordingly, real-time adaptive value function and/or policy generation or updating may be advantageously implemented in a distributed system to increase click-through rates or otherwise optimize a company's business, a website or other channel.

An asynchronous RL system may operate in environments with various characteristics. Since the system may include any number of Decisioning Components, the system is highly scalable and capable of providing redundancy. Moreover, the system may support simultaneous customer interactions. For example, thousands of customers may be interacting with the system (e.g., website) concurrently. Therefore, the system may handle a large number of Decision Requests per second.

The disclosed embodiments may be advantageously applied in situations in which interactions with customers are “concurrent.” As a result, asynchronous RL may be applied such that the customer profiles associated with multiple customers may be updated asynchronously. Moreover, through the use of a distributed system such as that described above, the customer profiles associated with multiple customers may be updated in parallel.

As described above, where a particular computing device or Decisioning Component has received a Decision Request (e.g., pertaining to one or more users), a sequence of updates may be requested, performed, or scheduled. More particularly, the sequence of updates may be requested, performed, or scheduled by the Decisioning Component that processed the Decision Request. Thus, the Decisioning Component that processed the Decision Request may generate a schedule and/or generate a sequence of requests. Alternatively, the sequence of updates may be requested, performed, or scheduled by another system component. Therefore, a schedule or a sequence of requests may be generated and/or transmitted to the Decisioning Component that processed the Decision Request.

As described above with reference to FIG. 2C, a single request may be processed according to whether it is a Decision or Update Request, where an Update Request may result in updating a policy and/or a value function. This is also shown in FIG. 2E, which illustrates the processing of an Update Request. More particularly, a value function and/or policy may be updated at 238. Within a distributed system implementing an asynchronous RL process, the policy may be a policy that is applied by a particular computing device. Thus, the policy may be stored on the particular computing device (e.g., Decisioning Component), or on a memory coupled to the computing device. Similarly, a value function may be applied by and associated with a particular computing device (e.g., Decisioning Component). In this case, the value function may be stored on the particular computing device, or on a memory coupled to the computing device.

As shown in FIG. 8 and FIG. 9, an indication of update(s) to the value function and/or policy that have been performed may be provided at 240. Since update(s) performed at 238 may pertain solely to a value function and/or a policy that pertain to a particular machine, the indication of the update(s) may be communicated such that the indication of the update(s) is available to other instances of the asynchronous RL process. More particularly, a Decisioning Component that has updated its value function and/or policy may communicate an indication of the update(s). The indication may include an update (e.g., change) to the value function and/or an update to the policy. Alternatively, the indication may include the value function and/or policy.

Each Decisioning Component in the distributed system may communicate an indication of update(s) to the value function and/or policy. More particularly, the Decisioning Component may provide the indication of the updates to the value function(s) so that the updates of all of the Decisioning Components may be combined to generate a new, revised global value function for use as the new, revised value function by each of the Decisioning Components. Similarly, the Decisioning Component may provide the indication of the updates to the policy so that the updates of all of the Decisioning Components may be combined to generate a new, revised global policy for use as the new, revised policy by each of the Decisioning Components.

In accordance with various embodiments, the value functions and/or policies learned by the Decisioning Components may be “combined” to produce a combined global value function and combined global policy. In this manner, the global value function and global policy may incorporate all data the Decisioning System has received. An example of a system and method of generating a combined global value function is described in application Ser. No. 13/552,519, entitled “Distributed Scalable Incrementally Updated Models in Decisioning Systems,” by Newnham et al, filed on Jul. 18, 2012, which is incorporated herein by reference in its entirety and for all purposes.

The disclosed embodiments may be employed in any of a wide variety of computing contexts. For example, as illustrated in FIG. 10, implementations are contemplated in which the relevant population of users interact with a diverse network environment via any type of computer (e.g., desktop, laptop, tablet, etc.) 1002, media computing platforms 1003 (e.g., cable and satellite set top boxes and digital video recorders), handheld computing devices (e.g., PDAs) 1004, cell phones 1006, or any other type of computing or communication platform.

The updating of a value function and/or policy may be performed according to the disclosed embodiments in a distributed manner. One or more components of a Learning Decisioning System, such as one or more of the Decisioning Components, may be represented in FIG. 10 by server 1008 coupled to data store 1010 which, as will be understood, may correspond to multiple distributed devices and data stores. However, it is important to note that while a single server 1008 is shown in this example, the components of a Learning Decisioning System may be implemented via multiple servers.

Many of the above-described processes are described with reference to a single Decisioning Component. However, some or all of these processes may be performed by a component other than the Decisioning Component that received the Decision Request. Moreover, each of the above-described processes may be distributed among two or more computing devices. Accordingly, the disclosed embodiments may be implemented at a single computing device or via a distributed system.

The disclosed embodiments may also be practiced in a wide variety of network environments (represented by network 1012) including, for example, TCP/IP-based networks, telecommunications networks, wireless networks, etc. In addition, the computer program instructions with which embodiments of the invention are implemented may be stored in any type of computer-readable media, and may be executed according to a variety of computing models including a client/server model, a peer-to-peer model, on a stand-alone computing device, or according to a distributed computing model in which various of the functionalities described herein may be effected or employed at different locations.

The disclosed techniques may be implemented in any suitable combination of software and/or hardware system, such as a web-based server or desktop computer system. The apparatus of this invention may be specially constructed for the required purposes, or it may be a general-purpose computer selectively activated or reconfigured by a computer program and/or data structure stored in the computer. The processes presented herein are not inherently related to any particular computer or other apparatus. In particular, various general-purpose machines may be used with programs written in accordance with the teachings herein, or it may be more convenient to construct a more specialized apparatus to perform the required method steps.

Regardless of the system's configuration, it may employ one or more memories or memory modules configured to store data, program instructions for the general-purpose processing operations and/or the inventive techniques described herein. The program instructions may control the operation of an operating system and/or one or more applications, for example. The program instructions may be implemented in an object-oriented language such as C++ or Java. The memory or memories may also be configured to store one or more sets of bins, data values, customer profiles, product information, computer-readable instructions for performing the disclosed methods as described herein, etc.

Because such information and program instructions may be employed to implement the systems/methods described herein, the present invention relates to machine readable media that include program instructions, state information, etc. for performing various operations described herein. Examples of machine-readable media include, but are not limited to, magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD-ROM disks; magneto-optical media; and hardware devices that are specially configured to store and perform program instructions, such as read-only memory devices (ROM) and random access memory (RAM). Examples of program instructions include both machine code, such as produced by a compiler, and files containing higher level code that may be executed by the computer using an interpreter.

FIG. 11 illustrates a typical computer system that, when appropriately configured or designed, can serve as a system in accordance with various embodiments. The computer system 1100 includes any number of processors 1102 (also referred to as central processing units, or CPUs) that are coupled to storage devices including primary storage 1106 (typically a random access memory, or RAM), primary storage 1104 (typically a read only memory, or ROM). CPU 1102 may be of various types including microcontrollers and microprocessors such as programmable devices (e.g., CPLDs and FPGAs) and unprogrammable devices such as gate array ASICs or general purpose microprocessors. As is well known in the art, primary storage 1104 acts to transfer data and instructions uni-directionally to the CPU and primary storage 1106 is used typically to transfer data and instructions in a bi-directional manner. Both of these primary storage devices may include any suitable computer-readable media such as those described above. A mass storage device 1108 is also coupled bi-directionally to CPU 1102 and provides additional data storage capacity and may include any of the computer-readable media described above. Mass storage device 1108 may be used to store programs, data and the like and is typically a secondary storage medium such as a hard disk. It will be appreciated that the information retained within the mass storage device 1108, may, in appropriate cases, be incorporated in standard fashion as part of primary storage 1106 as virtual memory. A specific mass storage device such as a CD-ROM 1114 may also pass data uni-directionally to the CPU.

CPU 1102 may also be coupled to one or more interfaces 1110 that connect to one or more input/output devices such as such as video monitors, track balls, mice, keyboards, microphones, touch-sensitive displays, transducer card readers, magnetic or paper tape readers, tablets, styluses, voice or handwriting recognizers, speakers, or other well-known input devices such as, of course, other computers. Finally, CPU 1102 optionally may be coupled to an external device such as a database or a computer or telecommunications network using an external connection as shown generally at 1112. With such a connection, it is contemplated that the CPU might receive a user request or information from the network, or might output information to the network in the course of performing the method steps described herein.

Any of the above embodiments may be used alone or together with one another in any combination. Although various embodiments may have been motivated by various deficiencies with the prior art, which may be discussed or alluded to in one or more places in the specification, the embodiments do not necessarily address any of these deficiencies. In other words, different embodiments may address different deficiencies that may be discussed in the specification. Some embodiments may only partially address some deficiencies or just one deficiency that may be discussed in the specification, and some embodiments may not address any of these deficiencies. Similarly, although various advantages have been described, different embodiments may provide different advantages.

Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, it will be apparent that certain changes and modifications may be practiced within the scope of the appended claims. Therefore, the present embodiments are to be considered as illustrative and not restrictive and the invention is not to be limited to the details given herein, but may be modified within the scope and equivalents of the appended claims. 

What is claimed is:
 1. A computer implemented method, comprising: obtaining an indication that a decision has been requested or selected with respect to one or more users; determining whether to schedule, request, or perform a set of one or more activities, the set of one or more activities including performing one or more updates and selecting one or more decisions, wherein the one or more updates are performed with respect to a value function approximating an expected reward over time for the one or more users and a policy for selecting additional decisions, and wherein the one or more decisions pertain to the one or more users; and scheduling, requesting, or performing the set of one or more activities according to a result of the determining step, wherein scheduling, requesting, or performing the set of one or more activities comprises: generating a sequence of requests, wherein the sequence of requests includes one or more Update Requests and one or more Decision Requests, wherein each request in the sequence of requests pertains to the one or more users; and providing or transmitting each request in the sequence of requests or indication thereof according to a particular schedule, wherein each of the one or more Decision Requests indicates a request to select an additional decision with respect to the at least one user, wherein each of the Update Requests indicates at least one of: a request to update a value function approximating an expected reward over time for the one or more users and a request to update a policy for selecting additional decisions.
 2. The computer implemented method of claim 1, wherein determining is performed in response to at least one of: the indication that the decision has been requested or selected, providing or obtaining an Update Request pertaining to the one or more users, customer input and other input.
 3. The computer implemented method of claim 1, wherein determining is performed based, at least in part, upon the decision that has been selected or an outcome of an update.
 4. The computer implemented method of claim 1, wherein scheduling, requesting, or performing the set of one or more activities according to the result of the determining step comprises: generating a schedule according to which the set of one or more activities are to be requested or performed.
 5. A computer implemented method, comprising: obtaining an indication that a decision has been requested or selected with respect to one or more users; after obtaining the indication of the decision that has been requested or selected, requesting or performing a sequence of one or more activities according to a schedule, the sequence of one or more activities including performing one or more updates and selecting one or more decisions, wherein the one or more updates are performed with respect to a value function approximating an expected reward over time for the one or more users and a policy for selecting additional decisions, and wherein the one or more decisions pertain to the one or more users; prior to requesting or performing the sequence of activities, generating the schedule according to which the sequence of one or more activities are to be requested or performed, wherein generating the schedule is performed in response to at least one of: the indication that the decision was requested or selected, an indication that an update to the value function pertaining to the one or more users was requested, an indication that an update to the policy pertaining to the one or more users was requested, customer input and other input.
 6. The computer implemented method of claim 5, wherein the schedule indicates one or more future times at which one or more activities in the sequence of activities is to be requested or performed.
 7. The computer implemented method of claim 5, wherein a time at which each of the one or more activities is requested or performed is independent of activity of the one or more users.
 8. The computer implemented of claim 5, wherein requesting or performing the sequence of one or more activities is performed in response to at least one of: the indication that the decision has been requested or selected, an Update Request pertaining to the one or more users, customer input and other input.
 9. The computer implemented method of claim 5, wherein requesting or performing the sequence of one or more activities is performed based, at least in part, upon the decision that has been selected or an outcome of an update.
 10. The computer implemented method of claim 5, wherein a time at which each of the one or more activities is requested or performed is independent of activity of any of a plurality of users.
 11. The computer implemented method of claim 5, the method further comprising; receiving, obtaining, accessing or constructing a user state pertaining to the at least one user; and prior to requesting or performing the sequence of activities, determining the schedule based, at least in part, upon the user state.
 12. The computer implemented method of claim 5, the method further comprising: prior to requesting or performing the sequence of activities, determining the schedule based, at least in part, upon a type of the one or more decisions to be selected.
 13. The computer implemented method of claim 5, further comprising: storing or providing the schedule.
 14. A computer implemented method comprising: obtaining an indication that a decision has been requested or selected with respect to one or more users; after obtaining the indication of the decision that has been requested or selected, requesting or performing a sequence of one or more activities according to a schedule, the sequence of one or more activities including performing one or more updates and selecting one or more decisions, wherein the one or more updates are performed with respect to a value function approximating an expected reward over time for the one or more users and a policy for selecting additional decisions, and wherein the one or more decisions pertain to the one or more users; prior to requesting or performing the sequence of activities, generating the schedule according to which the sequence of one or more activities are to be requested or performed, wherein generating the schedule is performed based, at least in part, upon a decision that has been selected with respect to the one or more users or an outcome of an update pertaining to the one or more users.
 15. The computer implemented method of claim 5, wherein the schedule is generated independent of activity of the one or more users.
 16. The computer implemented method of claim 6, wherein the schedule indicates a future time that each of the one or more activities in the sequence is to be requested or performed, a type of activities in the sequence, a number of activities in the sequence and any combination thereof.
 17. The computer implemented method of claim 5, wherein the indication that the decision has been requested or selected pertains to a first type of action and wherein the sequence of activities comprises selecting one or more decisions, wherein each of the decisions pertains to a corresponding type of action.
 18. A computer implemented method comprising: obtaining an indication that a decision has been requested or selected with respect to one or more users; after obtaining the indication of the decision that has been requested or selected, requesting or performing a sequence of one or more activities according to a schedule, the sequence of one or more activities including performing one or more updates and selecting one or more decisions, wherein the one or more updates are performed with respect to a value function approximating an expected reward over time for the one or more users and a policy for selecting additional decisions, and wherein the one or more decisions pertain to the one or more users, wherein the sequence of activities comprises a plurality of decisions to be selected, wherein each of the plurality of decisions pertains to a corresponding type of action, wherein the type of action for each of the plurality of decisions to be selected is identified in the schedule, each of the plurality of decisions including one or more actions.
 19. An apparatus, comprising: a processor; and a memory, at least one of the processor or the memory being adapted for: obtaining an indication that a decision has been requested or selected with respect to one or more users; after obtaining the indication of the decision that has been requested or selected, requesting or performing a sequence of one or more activities according to a schedule, the sequence of one or more activities including performing one or more updates and selecting one or more decisions, wherein the one or more updates are performed with respect to a value function approximating an expected reward over time for the one or more users and a policy for selecting additional decisions, and wherein the one or more decisions pertain to the one or more users, wherein requesting or performing the sequence of activities comprises providing or transmitting a sequence of one or more requests, wherein each of the requests in the sequence of requests is one of two types of requests, the two types of requests include a Decision Request and an Update Request and the schedule indicates a type of each of the requests in the sequence of requests and a number of each type of requests in the sequence of requests.
 20. The apparatus of claim 19, wherein the schedule indicates one or more future times at which one or more activities in the sequence of activities is to be requested or performed.
 21. The apparatus of claim 19, further comprising: receiving, obtaining, accessing or constructing a user state pertaining to the one or more users; and prior to providing or transmitting the sequence of requests, determining the particular schedule based, at least in part, upon the user state.
 22. An apparatus comprising: a processor; and a memory, at least one of the processor or the memory being adapted for: obtaining an indication that a decision has been requested or selected with respect to one or more users; after obtaining the indication of the decision that has been requested or selected, requesting or performing a sequence of one or more activities according to a schedule, the sequence of one or more activities including performing one or more updates and selecting one or more decisions, wherein the one or more updates are performed with respect to a value function approximating an expected reward over time for the one or more users and a policy for selecting additional decisions, and wherein the one or more decisions pertain to the one or more users, wherein requesting or performing the sequence of activities comprises providing or transmitting a sequence of one or more requests; and at least one of the processor or the memory being further adapted for: receiving, obtaining, accessing or constructing a first user state pertaining to the one or more users; prior to generating a first portion of the sequence of requests, determining a first schedule based, at least in part, upon the first user state; receiving, obtaining, accessing or constructing a second user state pertaining to the one or more users; prior to generating a second portion of the sequence of requests, determining a second schedule based, at least in part, upon the second user state.
 23. The apparatus of claim 22, wherein the schedule indicates a future time that each of the one or more requests in the sequence of requests is to he provided, generated, or transmitted.
 24. The apparatus of claim 22, wherein the schedule indicates at least one of: a type of requests in the sequence of requests and a number of requests in the sequence of requests.
 25. The apparatus of claim 22, wherein the sequence of requests comprises one or more Decision Requests requesting selection of each of the one or more decisions.
 26. The apparatus of claim 19, wherein the sequence of requests comprises one or more Decision Requests generated to provide one or more of the following: targeted content for a website, targeted advertisements for sending via email, targeted offers at a point of sale, or targeted messages for providing to the at least one user via a call center.
 27. The apparatus of claim 19, wherein the sequence of requests comprises a sequence of one or more Update Requests, wherein each of the Update Requests indicates one or more requests to update at least one of a policy and a value function maintained by or associated with a network device or Decisioning Component.
 28. The apparatus of claim 19, wherein providing or transmitting the sequence of requests comprises: providing or transmitting each request in a sequence of requests by a Decisioning Component.
 29. The apparatus of claim 19, wherein providing or transmitting the sequence of requests comprises: providing or transmitting each request in the sequence of requests to a Decisioning Component. 